package com.itxx.homeWork.extends2.reptile;

import com.itxx.homeWork.extends2.animal.Animal;

//爬行类
public class Reptiles extends Animal {
    //爬行类的种类
    private String sort;
    //爬行类的大小
    private String  size;

    public Reptiles() {
    }

    public Reptiles(String name, int age, String sort, String size) {
        super(name, age);
        this.sort = sort;
        this.size = size;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }
}
